﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Runtime.Serialization;

namespace TM.QWeibo.SDK.Objects
{
    /// <summary>
    /// 更新计数
    /// </summary>
    [DataContract]
    public class UpdateCount
    {
        public enum ECountType
        {
            /// <summary>
            /// 首页未读消息计数
            /// </summary>
            Home = 5,
            /// <summary>
            /// 提及我的未读消息计数
            /// </summary>
            Mentions = 6,
            /// <summary>
            /// 私信页未读消息计数
            /// </summary>
            PrivateMessage = 7,
            /// <summary>
            /// 新增听众数
            /// </summary>
            Fans = 8,
            /// <summary>
            /// 首页广播（原创）更新数
            /// </summary>
            Create = 9
        }

        /// <summary>
        /// 首页广播（原创）更新数
        /// </summary>
        [DataMember(Name = "create")]
        public int Create { get; set; }

        /// <summary>
        /// 新增听众数
        /// </summary>
        [DataMember(Name = "fans")]
        public int Fans { get; set; }

        /// <summary>
        /// 首页未读消息计数
        /// </summary>
        [DataMember(Name = "home")]
        public int Home { get; set; }

        /// <summary>
        /// 提及我的未读消息计数
        /// </summary>
        [DataMember(Name = "mentions")]
        public int Mentions { get; set; }

        /// <summary>
        /// 私信页未读消息计数
        /// </summary>
        [DataMember(Name = "private")]
        public int PrivateMessage { get; set; }
    }
}
